<div class="form-horizontal" ng-init="dvm.init()">
  <div class="modal-header">
    <button type="button" class="close" ng-click="dvm.close()">&times;</button>
    <h4 class="modal-title">代码片段</h4>
  </div>
  <div class="modal-body">
    <div class="form-group">
      <div class="col-sm-12">
        <div class="x-editor">
          <pre id="code-editor" style="height:500px"></pre>
        </div>
      </div>
    </div>
  </div>
  <div class="modal-footer">
    <button id="copy-code" type="button" class="btn btn-default">
      <i class="fa fa-copy"></i> 复制</button>
    <button type="button" class="btn btn-default" ng-click="dvm.close()">
      <i class="fa fa-times"></i> 关闭</button>
  </div>
</div>
